negotiator
Class NegotiationResult
java.lang.Object
negotiator.NegotiationResult
public class NegotiationResult
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NegotiationResult
public NegotiationResult(double myDiscountedUtility,
Action lastAction,
Bid lastBid)
isAgreement
public boolean isAgreement()
- Returns:
- true when the match ended in acceptance.
getMyDiscountedUtility
public double getMyDiscountedUtility()
- Returns:
- the utility received at the end of the negotiation.
getLastAction
public Action getLastAction()
- Returns:
- last action executed in the negotiation.
getLastBid
public Bid getLastBid()
- Returns:
- last bid offered in the negotiation.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object